package com.manager.mapper;

import com.manager.bean.StudentDormitoryExample;
import com.manager.bean.StudentDormitoryKey;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface StudentDormitoryMapper {
    int countByExample(StudentDormitoryExample example);

    int deleteByExample(StudentDormitoryExample example);

    int deleteByPrimaryKey(StudentDormitoryKey key);

    int insert(StudentDormitoryKey record);

    int insertSelective(StudentDormitoryKey record);

    List<StudentDormitoryKey> selectByExample(StudentDormitoryExample example);

    int updateByExampleSelective(@Param("record") StudentDormitoryKey record, @Param("example") StudentDormitoryExample example);

    int updateByExample(@Param("record") StudentDormitoryKey record, @Param("example") StudentDormitoryExample example);
}